<?php
/**
 * visionBoard
 *
 * PHP5
 *
 * @author              Denis Wróbel, deniol
 * @package             visionBoard
 * @copyright           2010 Denis Wróbel, deniol
 * @license             http://www.gnu.org/licenses/gpl-3.0.html
 * @version             0.1
 * @link                http://visionb.pl
 * 
 */

class Page
{
    /**
     * Kernel Class instance
     *
     * @access public
     * @var object
     */
    public $kernel =                NULL;
    
    /**
     * Page title
     *
     * @access public
     * @var string
     */
    public $pageTitle =             '';
    
    /**
     * Breadcrumbs (HTML)
     *
     * @access public
     * @var string
     */
    public $breadcrumbs =           '';
    
    /**
     * Constructor
     *
     * @param object $kernel Kernel class instance
     *
     * @access public
     * @return void
     */
    public function __construct( $kernel = NULL )
    {
        # Check if $kernel is Kernel Class object
        if( !$kernel instanceof Kernel )
        {
            visionError( 'Param: $kernel must be instance of Kernel class in <b>' . __FILE__ . '</b>' );
        }
    }
}

?>